h3 {
  text-align: center;
  color: #5a5a5a;
}

body {
  background: #000;


  /* 点击按钮时底部滚动条闪烁bug */

}

.box {
  width: 400px;
  height: 400px;
  margin: 200px auto;

  position: relative;
  /* transform: perspective(800px) rotateY(-60deg) rotateX(45deg); */
  transform: perspective(800px) rotateY(-45deg) rotateX(45deg);
  transform-style: preserve-3d;
  transition: 2s;
}

.box div {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  -webkit-box-shadow: 0 0 100px #5fbcff;
  /* opacity: 0.8; */
  opacity: 1;
  /* 隐藏名字文本 */
  color: transparent;
  transition: 2s;
}

.front {
  transform: translateZ(200px);
  background: url(images/1.jpg);
}

.back {
  transform: translateZ(-200px);
  background: url(images/2.jpg);
}

.left {
  transform: translateX(-200px) rotateY(90deg);
  background: url(images/3.jpg);
}

.right {
  transform: translateX(200px) rotateY(90deg);
  background: url(images/4.jpg);
}

.top {
  transform: translateY(-200px) rotateX(90deg);
  background: url(images/5.jpg);
}

.bottom {
  transform: translateY(200px) rotateX(90deg);
  background: url(images/6.jpg);
}


/* 这里写平铺卡片样式时的样式 */

.box div.card#Lin {}

.box div.card#Feng {}

.box div.card#Fu {}

.box div.card#Li {}

.box div.card#Luo {}

.box div.card#Guo {}


button {
  position: fixed;
  left: 50%;
  bottom: 10%;
}

.box div.card {
  width: 200px;
  height: 200px;
  color: red;
  position: static;
  transform: translate(0) !important;
}

.box.container {
  width: 100%;
  padding: 0;
  margin: 0;
  transform-style: flat;
  transform: rotate(0) !important;
  display: flex;
  justify-content: space-around;
  align-items: center;

}